import sys
from tracking.tracker import Tracker
import os

try:
	video_dir = sys.argv[1]
except IndexError:
	print "Usage: python track.py <video_directory>"
	exit()

video_dir = os.path.abspath(video_dir)
tracker = Tracker(video_dir, display=True)
tracker.track()
tracker.store_data()